<?php
//products模型用来操作products表
class ProductModel extends model{
    //获取products标的数据
    public function getlist(){
        return $this->mypdo->fetchAll('select * from products');


    }

}

?>